﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Weibo.Web.Models;
using Weibo.Business;
using Weibo.Entity;
using Weibo.Config;
using Weibo.Common;

namespace Weibo.Web.Controllers
{
    public class MapController : LoginController
    {
        //
        // GET: /Map/

        public ActionResult Index()
        {
            ViewData["AdditionHeader"] = "我的私信";
          
            MapModel model = new MapModel();
          
            model.CurUser = CurrentUser;
            model.CurUserConfig = CurrentUserConfig;
            model.allGroups = Groups.GetGroupsByUID(CurrentUser.ID);
            model.EducationList = Educations.GetEducationsByIsVisible(model.CurUser.ID, 1);
          
            return View(model);
        }
       
    }
}
